package com.comba.javafxdemo.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 使用JAXB进行XML与Java对象之序列化与反序列化
 * @author zj
 *
 */
@XmlRootElement(name="persons")
public class PersonListWrapper {
	private List<Person> persons;

	@XmlElement(name="person")
	public List<Person> getPersons() {
		return persons;
	}

	public void setPersons(List<Person> persons) {
		this.persons = persons;
	}


}
